package com.unittec.zk.provider.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.unittec.zk.provider.root.EntityRoot;
import com.unittec.zk.sdk.root.domain.Paging;
import lombok.Data;

/**
    * 试卷考题
    */
@Data
@TableName(value = "el_paper_qu")
public class ElPaperQu extends EntityRoot implements Serializable {
    /**
     * 试卷ID
     */
    @TableField(value = "paper_id")
    private String paperId;

    /**
     * 题目ID
     */
    @TableField(value = "qu_id")
    private String quId;

    /**
     * 题目类型
     */
    @TableField(value = "qu_type")
    private Integer quType;

    /**
     * 是否已答
     */
    @TableField(value = "answered")
    private Byte answered;

    /**
     * 主观答案
     */
    @TableField(value = "answer")
    private String answer;

    /**
     * 问题排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 单题分分值
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 实际得分(主观题)
     */
    @TableField(value = "actual_score")
    private Integer actualScore;

    /**
     * 是否答对
     */
    @TableField(value = "is_right")
    private Byte isRight;


    private static final long serialVersssionUID = 1L;
}